package com.example.edu.client;

import com.example.user.entity.UcenterMember;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "service-cms")
@Component
public interface MemberClient {

    @GetMapping("/cms/user/getMember/{id}")
    public UcenterMember getMemberById(@PathVariable String id);

}
